package com.lct.loop;

public class BreakAndContinueDemo10 {
    public static void main(String[] args) {
        for (int i = 0; i < 6; i++) {
            System.out.println("洗碗" + i);
            if(i == 3)
                break;
        }

        for (int i = 0; i < 6; i++) {
            if (i == 3)
                continue;
            System.out.println("拖地" + i);
        }
    }


}
